public class homrwork8 {
    public static void main(String[]args){
        java.util.Scanner scanner= new java.util.Scanner(System.in);


        System.out.print("请输入一个三位数：");
        int num = scanner.nextInt();
        System.out.println("个位："+ num %10);

        System.out.println("十位："+num/10%10);
        System.out.println("百位："+num/100);

        int total =681;
        int h=total/60;
        int m=total%60;
        System.out.println(total+"分钟是"+h+"小时"+m+"分钟");
    }

}
